#ifndef FILE_H_INCLUDED_
#define FILE_H_INCLUDED_

#ifdef __cplusplus
extern "C" {
#endif

#include <stdio.h> 
#include <stdlib.h> 
#include <string.h> 
//#include <windows.h> 
#define SIZE 128 
//#include "CException.h"
//#define export __declspec(dllexport)

//读取配置文件. 
int read_file(char* filename,char* key,char* value); 
//写配置文件. 
int write_file(char* filename,char* key,char* value); 
//释放文件. 
int release(); 
//写入节. 
int write_section(char* filename,char* section); 
int read_section(char* filename); 

void getVersion(char* value);

#ifdef __cplusplus
}
#endif

#endif /* FILE_H_INCLUDED_ */
